package SLA;

import java.io.Serializable;

public class SLA implements Serializable {
	
	private float valueOfService;
	private float sloValue;
	private int selectivityQ;
	private float costMachine;
	private float maximumThr;
	private float costMonitoring;
	private int quantum; //quantum monitoring in seconds 
	
	
	public SLA(float valueOfService, float sloValue, int selectivityQ, float costMachine, float maximumThr, float costMonitoring,
				int quantum){
		this.setValueOfService(valueOfService);
		this.setSloValue(sloValue);
		this.setSelectivityQ(selectivityQ);
		this.setCostMachine(costMachine);
		this.setMaximumThr(maximumThr);
		this.setCostMonitoring(costMonitoring);
		this.setQuantum(quantum);
	}

	public float getSloValue() {
		return sloValue;
	}

	public void setSloValue(float sloValue) {
		this.sloValue = sloValue;
	}

	public int getSelectivityQ() {
		return selectivityQ;
	}

	public void setSelectivityQ(int selectivityQ) {
		this.selectivityQ = selectivityQ;
	}

	public float getMachineCost() {
		return costMachine;
	}

	public void setCostMachine(float costMachine) {
		this.costMachine = costMachine;
	}

	public float getMaximumThr() {
		return maximumThr;
	}

	public void setMaximumThr(float maximumThr) {
		this.maximumThr = maximumThr;
	}

	public float getCostMonitoring() {
		return costMonitoring;
	}

	public void setCostMonitoring(float costMonitoring) {
		this.costMonitoring = costMonitoring;
	}

	public int getQuantum() {
		return quantum;
	}

	public void setQuantum(int quantum) {
		this.quantum = quantum;
	}

	public float getValueOfService() {
		return valueOfService;
	}

	public void setValueOfService(float valueOfService) {
		this.valueOfService = valueOfService;
	}
	
	
}
